Stochastic Calculus

1. Introduction to Finite Markov Chains

Definition

A sequence of random variables (X0,X1,X2,...) is a Markov chain with state space Ω and transition matrix P if
for all n0, and all sequences (x0,x1,...,xn,xn+1), we have that

P[Xn+1=xn+1|X0=x0,...,Xn=xn]=P[Xn+1=xn+1|Xn=xn]=P(xn,xn+1).

Classical Markov Chains

Gambler's ruin

recall the gambler's ruin problem we once discussed in Intro To Probability. It turns out that we may use Markov Chains to model it.

Coupon Collecting

Irreducibility and Aperiodicity

Definition

A transition matrix P is called irreducible, if
for any x,yΩ, there exists a number n (possibly depending on x,y)
such that

Pn(x,y)>0.

this means that it is possible to get from any state to any other state using only transitions of positive probability.

Definition

For any xΩ, define T(x)={n1:Pn(x,x)>0}. The period of
state x is the greatest common divisor of T(x), denoted by gcd(T(x)).

essentially T(x) is the set of times when it is possible for the chain to return to starting position x.

Lemma

If P is irreducible, then gcdT(x)=gcdT(y) for all x,yΩ.

proof. Fix two states x and y. There exist non-negative integers r and such that Pr(x,y)>0 and P(y,x)>0. Letting m=r+, we have mT(x)T(y). Now consider the set

S={r++n|nT(y)}

Let d be the period of T(y). The S={r++kd|kN} which is basically an arithmetic progression of step size d.However since ST(x) the difference in this elements must be divisible by the period of T(x) which we denote to be D. That is d%D=0. By a complete parallel argument we also have D%d=0. Therefore this implies that d=D or gcd(T(x))=gcd(T(y)) as desired.

Definition

For an irreducible chain, the period of the chain is defined to be the period which is common to all states. The chain is aperiodic if all states have period 1.

Example

random walk on on N-cycle where N is odd is aperiodic

First realize to return to the same state you either go an element then make a U turn back, leading to an even contribution to the time to return

eg:01210

or you make a cycle which is either odd or even depending depending on N.
So it is clear in odd cycles there exists both a return time of 2(go to next then return back) and some odd number. In which case the gcd of all return times can only be 1. This will apply to all states.

Theorem

If P is irreducible and aperiodic, then there exists an integer r such that

Pn(x,y)>0,x,yΩ,nr.

Stationary Distributions

Notations

Ω:state spaceμ:measure on jΩP,Q:transition matrices |Ω|×|Ω|f:function on Ω

Associative

Consider a Markov chain with state space Ω and transition matrix P.
Recall that

P[Xn+1=y|Xn=x]=P(x,y).

μ0: the distribution of X0
μn: the distribution of Xn
Then we have that
μn+1=μnP.
μn=μ0Pn.
E[f(Xn)]=μ0Pnf.

Definition

We call a probability measure π is stationary if

π=πP.

If π is stationary and the initial measure μ0 equals π, then

μn=π,n.